import { IsNotEmpty } from 'class-validator';

export class CreateZoneDto {
  @IsNotEmpty({ message: '区段名称不能为空' })
  name: string;

  @IsNotEmpty({ message: '项目ID不能为空' })
  projId: number;
}
